//
//  AddDebtViewController.h
//  Wallets Manager
//
//  Created by Tung Nguyen on 10/14/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataBaseAccess.h"
#import "SelectIncomeCategory.h"
#import "TapkuLibrary.h"
#import "folyAppDelegate.h"

@interface AddDebtViewController : UIViewController <TKCalendarMonthViewDataSource,TKCalendarMonthViewDelegate,UITextFieldDelegate> {
    
}

@property (weak, nonatomic) IBOutlet UITextField *debtNameTextField;
@property (weak, nonatomic) IBOutlet UITextField *lenderTextField;
@property (weak, nonatomic) IBOutlet UITextField *amountTextField;
@property (weak, nonatomic) IBOutlet UITextField *walletNameTextField;
@property (weak, nonatomic) IBOutlet UITextField *dateTextField;
@property (weak, nonatomic) IBOutlet UITextField *dueDateTextField;
@property (weak, nonatomic) IBOutlet UITextField *noteTextField;

@property (retain, nonatomic) NSString *dateString;
@property (retain, nonatomic) UIActionSheet *pickerDateViewPopup;
@property (retain, nonatomic) UIActionSheet *pickerDueDateViewPopup;
@property (strong,nonatomic) TKCalendarMonthView *dateMonthViewCalendar;
@property (strong,nonatomic) TKCalendarMonthView *dueDateMonthViewCalendar;

@property (weak, nonatomic) NSString *kindOfView;


- (IBAction)backButtonPressed:(id)sender;
- (IBAction)addButtonPressed:(id)sender;
-(void)popUpRefreshFrame;
- (void) createDatePickerView;
@end
